package com.andox.fn.inf.rpc.rest.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**   
 * @ClassName:   ProviderSidePropertyOverridable   
 * @Description: refer 的时候 标识客户端的属性可以被服务端的属性覆盖
 * @author:      Andox
 * @date:        2019年8月23日 下午3:18:16   
 *     
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OverridableProperty {
	public final static String OVERRIDE_FROM_PROVIDER_SIDE = "1";
	public final static String OVERRIDE_FROM_CONFIGURATION_SIDE = "2";

	public String[] value() default { OVERRIDE_FROM_PROVIDER_SIDE };
}
